import { ICommonState } from './state'

export const getters = {
  taskInfos: (state: ICommonState) => state.taskInfos,
  taskInfosInit: (state: ICommonState) => state.taskInfosInit,
  periodInfos: (state: ICommonState) => state.periodInfos,
  backTaskTime: (state: ICommonState) => state.backTaskTime,
  taskName: (state: ICommonState) => state.taskName,
  currTime: (state: ICommonState) => state.currTime,
  reloginFlag: (state: ICommonState) => state.reloginFlag,
  errFlag: (state: ICommonState) => state.errFlag,
  currClassObj: (state: ICommonState) => state.currClassObj,
  classText: (state: ICommonState) => state.classText
}
